CurrentDateTime

Basic and Crystal syntax.

Returns

DateTime Value

Action

CurrentDateTime returns the current date and time on a report. The date and time is taken from your computer's internal clock.

Typical Uses

Use CurrentDateTime any time you want to stamp your report with the current date and time.

Examples

The following examples are applicable to both Basic and Crystal syntax:

CurrentDateTime

Returns 1998/07/04 4:45:18, if you begin printing your report at 4:45:18 on July 4, 1998.

CurrentDateTime

Returns 1996/12/11 17:14:33, if you begin printing your report at 17:14:33 on December 11, 1996.

Comments

CDateTime(CurrentDate, CurrentTime)



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com